<template>
  <div>
    <!-- 这里是放你的每一个路由界面的 -->
    <!-- 不要动到这里 -->
    <router-view></router-view>
    <!-- <div class="back" @click="back">《-</div> -->
  </div>
</template>

<script>
export default {
  methods: {
    back() {
      window.history.go(-1);
    }
  },
}
</script>

<style scoped>
* {
  animation-name: show;
  animation-duration: 1s;
  animation-iteration-count: 1;
}
@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.back {
  width: 40px;
  height: 20px;
  /* background-color: #fff; */
  position: fixed;
  top: 71px;
  right: 0;
  cursor: pointer;
  z-index: 999;
}
</style>